export default {
  enableDirtyChecking: true,
  showDataInfoBar: true,
  xdataControlName: 'form',
  loadDefault: true,
  openMode: 'POPUPMODAL',
  deviewCodeName: 'quick_cfg_view',
  deviewId: 'b33613dbe89dd6f84ee95874d09d56ac',
  accUserMode: 2,
  caption: '实体处理逻辑',
  codeName: 'psde_logic_quick_cfg_view',
  height: 500,
  appDataEntityId: 'web.psdelogic',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'OptionView',
      id: 'engine',
    },
  ],
  controls: [
    {
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.psdelogic',
        id: 'create',
      },
      getDraftFromControlAction: {
        appDataEntityId: 'web.psdelogic',
        id: 'loaddraftfrom',
      },
      getDraftControlAction: {
        appDEMethodId: 'getdraft',
        appDataEntityId: 'web.psdelogic',
        id: 'loaddraft',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.psdelogic',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.psdelogic',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.psdelogic',
        id: 'update',
      },
      infoFormMode: true,
      deformPages: [
        {
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          deformDetails: [
            {
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              deformDetails: [
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'TOP',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'psdelogicname',
                  editor: {
                    halign: 'LEFT',
                    valign: 'MIDDLE',
                    wrapMode: 'NOWRAP',
                    editorType: 'SPAN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'psdelogicname',
                  },
                  allowEmpty: true,
                  caption: '规则名称',
                  codeName: 'psdelogicname',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colLG: 20,
                    colMD: 20,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'psdelogicname',
                },
                {
                  dataType: 25,
                  enableCond: 3,
                  ignoreInput: 3,
                  labelPos: 'TOP',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'applyflag',
                  editor: {
                    halign: 'LEFT',
                    valign: 'MIDDLE',
                    wrapMode: 'NOWRAP',
                    appCodeListId: 'web.extension__extension_status',
                    editorType: 'SPAN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'applyflag',
                  },
                  allowEmpty: true,
                  convertToCodeItemText: true,
                  emptyCaption: true,
                  codeName: 'applyflag',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colLG: 4,
                    colMD: 4,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'applyflag',
                },
                {
                  layout: {
                    columnCount: 24,
                    layout: 'TABLE_24COL',
                  },
                  deformDetails: [
                    {
                      dataType: 25,
                      enableCond: 3,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'logicsubtype',
                      editor: {
                        singleSelect: true,
                        appCodeListId: 'web.extension__auto_flow_type',
                        editorType: 'DROPDOWNLIST',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'logicsubtype',
                      },
                      needCodeListConfig: true,
                      caption: '类型',
                      codeName: 'logicsubtype',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      showCaption: true,
                      id: 'logicsubtype',
                    },
                    {
                      dataType: 25,
                      enableCond: 3,
                      ignoreInput: 4,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'events',
                      editor: {
                        singleSelect: true,
                        appCodeListId: 'web.extension__enable_action',
                        editorType: 'DROPDOWNLIST',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'events',
                      },
                      needCodeListConfig: true,
                      caption: '监控事件',
                      codeName: 'events',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      defdgroupLogics: [
                        {
                          logicCat: 'PANELVISIBLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'EVENTHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMBLANK',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'NOTEQ',
                              defdname: 'logicsubtype',
                              value: 'EVENTHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMENABLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'EVENTHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                      ],
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      showCaption: true,
                      id: 'events',
                    },
                    {
                      dataType: 25,
                      enableCond: 3,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'timerpolicy',
                      editor: {
                        maxLength: 100,
                        showMaxLength: true,
                        editorStyle: 'CronEditor',
                        editorType: 'TEXTAREA',
                        sysPFPluginId: 'croneditor',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'timerpolicy',
                      },
                      caption: '定时触发策略',
                      codeName: 'timerpolicy',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      defdgroupLogics: [
                        {
                          logicCat: 'PANELVISIBLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'TIMERTASK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMBLANK',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'NOTEQ',
                              defdname: 'logicsubtype',
                              value: 'TIMERTASK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMENABLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'TIMERTASK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                      ],
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      showCaption: true,
                      id: 'timerpolicy',
                    },
                    {
                      dataType: 25,
                      enableCond: 3,
                      ignoreInput: 4,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'events',
                      editor: {
                        singleSelect: true,
                        appCodeListId: 'web.extension__enable_field_change',
                        editorStyle: 'AUTO_RULES',
                        editorType: 'DROPDOWNLIST',
                        editorItems: [
                          {
                            id: 'eventmodel',
                          },
                        ],
                        sysPFPluginId: 'auto_rules',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'fieldeventname',
                      },
                      resetItemNames: ['logicsubtype'],
                      needCodeListConfig: true,
                      caption: '变更属性',
                      codeName: 'fieldeventname',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      defdgroupLogics: [
                        {
                          logicCat: 'PANELVISIBLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'FIELDCHANGEHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMBLANK',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'NOTEQ',
                              defdname: 'logicsubtype',
                              value: 'FIELDCHANGEHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                        {
                          logicCat: 'ITEMENABLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'FIELDCHANGEHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                      ],
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      showCaption: true,
                      id: 'fieldeventname',
                    },
                    {
                      dataType: 21,
                      enableCond: 3,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'eventmodel',
                      editor: {
                        editorType: 'HIDDEN',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'eventmodel',
                      },
                      allowEmpty: true,
                      hidden: true,
                      caption: '触发条件',
                      codeName: 'eventmodel',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      defdgroupLogics: [
                        {
                          logicCat: 'PANELVISIBLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'FIELDCHANGEHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                      ],
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      id: 'eventmodel',
                    },
                    {
                      dataType: 25,
                      labelPos: 'TOP',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      editor: {
                        editorType: 'TEXTBOX',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'webhookurl',
                      },
                      allowEmpty: true,
                      caption: 'Webhook地址',
                      codeName: 'webhookurl',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      defdgroupLogics: [
                        {
                          logicCat: 'PANELVISIBLE',
                          relatedDetailNames: ['logicsubtype'],
                          groupOP: 'AND',
                          defdlogics: [
                            {
                              condOP: 'EQ',
                              defdname: 'logicsubtype',
                              value: 'WEBHOOK',
                              logicType: 'SINGLE',
                            },
                          ],
                          logicType: 'GROUP',
                        },
                      ],
                      layoutPos: {
                        colMD: 24,
                        layout: 'TABLE_24COL',
                      },
                      showCaption: true,
                      id: 'webhookurl',
                    },
                  ],
                  codeName: 'grouppanel1',
                  detailStyle: 'DEFAULT',
                  detailType: 'GROUPPANEL',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'grouppanel1',
                },
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'TOP',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'memo',
                  editor: {
                    halign: 'LEFT',
                    valign: 'MIDDLE',
                    wrapMode: 'NOWRAP',
                    editorType: 'SPAN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'memo',
                  },
                  allowEmpty: true,
                  caption: '描述',
                  codeName: 'memo',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colLG: 24,
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'memo',
                },
                {
                  dataType: 21,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'psdelogiclinks',
                  editor: {
                    editorType: 'HIDDEN',
                    objectIdField: 'PSDELogicLinkId',
                    objectNameField: 'PSDELogicLinkName',
                    valueType: 'OBJECTS',
                    editable: true,
                    id: 'psdelogiclinks',
                  },
                  allowEmpty: true,
                  hidden: true,
                  caption: '逻辑连接',
                  codeName: 'psdelogiclinks',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'psdelogiclinks',
                },
                {
                  dataType: 21,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'psdelogicnodes',
                  editor: {
                    editorType: 'HIDDEN',
                    objectIdField: 'PSDELogicNodeId',
                    objectNameField: 'PSDELogicNodeName',
                    valueType: 'OBJECTS',
                    editable: true,
                    id: 'psdelogicnodes',
                  },
                  allowEmpty: true,
                  hidden: true,
                  caption: '逻辑节点',
                  codeName: 'psdelogicnodes',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'psdelogicnodes',
                },
                {
                  dataType: 21,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'psdelogicparams',
                  editor: {
                    editorType: 'HIDDEN',
                    valueType: 'OBJECTS',
                    editable: true,
                    id: 'psdelogicparams',
                  },
                  allowEmpty: true,
                  hidden: true,
                  caption: '逻辑参数',
                  codeName: 'psdelogicparams',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'psdelogicparams',
                },
              ],
              caption: '基本信息',
              codeName: 'group1',
              detailStyle: 'DEFAULT',
              detailType: 'GROUPPANEL',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              id: 'group1',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              appDEFieldId: 'psdelogicid',
              editor: {
                editorType: 'HIDDEN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'psdelogicid',
              },
              allowEmpty: true,
              hidden: true,
              caption: '实体处理逻辑标识',
              codeName: 'psdelogicid',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              id: 'psdelogicid',
            },
          ],
          caption: '基本信息',
          codeName: 'formpage1',
          detailStyle: 'DEFAULT',
          detailType: 'FORMPAGE',
          id: 'formpage1',
        },
      ],
      layout: {
        columnCount: 24,
        layout: 'TABLE_24COL',
      },
      tabHeaderPos: 'TOP',
      noTabHeader: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'cfg',
      controlType: 'FORM',
      logicName: '配置表单',
      appDataEntityId: 'web.psdelogic',
      controlParam: {
        id: 'form',
      },
      modelId: '8c91eeafc9524b34157a7b98c139fcda',
      modelType: 'PSDEFORM_EDITFORM',
      name: 'form',
      id: 'web.psdelogic.cfg',
    },
    {
      codeName: 'quick_cfg_view_datainfobar',
      controlType: 'DATAINFOBAR',
      appDataEntityId: 'web.psdelogic',
      controlParam: {
        id: 'datainfobar',
      },
      name: 'datainfobar',
      id: 'quick_cfg_view_datainfobar',
    },
    {
      caption: '实体处理逻辑',
      codeName: 'quick_cfg_view_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.psdelogic',
      controlParam: {},
      name: 'captionbar',
      id: 'quick_cfg_view_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEOPTVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.psdelogic',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '规则配置视图',
  viewStyle: 'DEFAULT',
  viewType: 'DEOPTVIEW',
  width: 600,
  enableDP: true,
  showCaptionBar: true,
  modelId: '3c941569895b74bc60643a5328d0aad9',
  modelType: 'PSAPPDEVIEW',
  name: 'PSDELogicquick_cfg_view',
  id: 'web.psde_logic_quick_cfg_view',
};
